<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>电影详情</title>
</head>
<body>
<h3>欢迎<a th:href="@{/user/record}" th:text="${session.user.userName}"/></h3>
<h1>电影详情</h1>
<hr>
<p>电影编号：<span th:text="${movie.id}"></span></p>
<p>电影名称：<span th:text="${movie.movieName}"></span></p>
<p>电影评分：<span th:text="${movie.movieScore}"></span></p>
<p>电影评论：</p>
<div th:each="record : ${movie.movieRecord}">
    <div th:if="${record.movieReviews}">
        <div th:text="${record.movieReviews}"></div>
    </div>
</div>
<input type="button" value="后退" onclick="window.history.back()"/>
</body>
</html>
